package com.smxy.mall.model.request;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@ApiModel
@Data
public class RoleReq {
    private Integer id;
    @NotNull(message = "缺少角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;
    private String remark;
    @NotNull(message = "缺少角色状态")
    private Integer status;
    private String role;
}
